<!doctype html>
<html>
<head>
  <meta charset="UTF-8">
  <title>管理后台</title>
  <link rel="stylesheet" href="__CSS__/ST_admin.css"/>
  <script src="__JAVASCRIPT__/jquery.min.js"></script>
  <script type="text/javascript">	var ST = {
  // 资源路径
  PATH: {
    JS: "/resource/js/",           //JS路径
    JSTMP: "/resource/jsTemplate/",//JS模板路径
    IMAGE: "/resource/images/",    //图片路径
    CSS: "/resource/css/",         //CSS路径
    PUBLIC: "/",
    ROOT: ""                          //网站根目录
  },
  // 数据缓存
  CACHE: {},
  // 服务端使用的URL
  ACTION: {
    //上传地址
    UPLOAD: "",
    //百度编辑器上传地址
    UPLOADUEDITOR: ""
  },
  // 服务端输出的数据
  PHPDATA: {},
  // 初始化后执行的方法（ST.todoList()前执行）
  TODOLIST: [],
  // 页面空方法（用于HTML中执行ST方法，调用：ST.todo('方法名',参数1,...,参数N)）
  todo: function () {
  }
};
  </script>
</head>
<body class="admin-enter">

<div class="block--login" style="margin-top: 40px;">
  <form onsubmit="return false" stverify="true" erroappend="true" ajaxpost="true" action="{%:U('/admin/admin/dologin')%}">
    <div class="block-head">
      <h1 style="text-align: center">后台管理</h1>
    </div>
    <div class="block-body">
      <div class="control-group">
        <label class="control-label" for="username">用户名</label>
        <div class="controls">
          <input class="input--login input-small" type="text" id="username" name="username" opt="rq" placeholder="请输入用户名"/>
        </div>
      </div>
      <div class="control-group">
        <label class="control-label" for="password">密码</label>
        <div class="controls">
          <input class="input--login input-small" type="password" id="password" name="password" opt="rq" placeholder="请输入密码"/>
        </div>
      </div>
    </div>
    <div class="divider"></div>
    <div class="block-foot">
      <input class="btn--login btn-large" type="submit" value="登录"/>
    </div>
  </form>
</div>
<!--block--login-->
<div class="footer">
  <p></p>
</div>
<!--footer-->
{%include file="Public:footer" /%}
<script src="__JAVASCRIPT__/ST.Vcode.js"></script>
<script>
  $.extend(ST, {
    todoList: function () {
      ST.CurVode = new ST.Vcode({controlID: "authCode", displayID: "authCode_display"});
    }
  });
  ST.init();
</script>